add some logs
This commit is contained in:
parent
bd95dd8ffd
commit
63775d75c6
|
@ -2,6 +2,7 @@ package prosody
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"net/url"
|
"net/url"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,6 +18,8 @@ func NewProsody(domain string) *Prosody {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Errorf("urlQueryUnescape %w", err))
|
panic(fmt.Errorf("urlQueryUnescape %w", err))
|
||||||
}
|
}
|
||||||
|
log.Println("/var/lib/prosody/" + domain + "/accounts/")
|
||||||
|
log.Println(plainDomain)
|
||||||
return &Prosody{
|
return &Prosody{
|
||||||
binPath: "/usr/bin/prosodyctl",
|
binPath: "/usr/bin/prosodyctl",
|
||||||
accountsPath: "/var/lib/prosody/" + domain + "/accounts/",
|
accountsPath: "/var/lib/prosody/" + domain + "/accounts/",
|
||||||
|
|
Loading…
Reference in New Issue