@@ -16,11 +16,11 @@ import (
1616)
1717
1818func main () {
19- catcher .Info ("Starting O365 module" , map [ string ] any {} )
19+ catcher .Info ("Starting O365 module" , nil )
2020 intKey := configuration .GetInternalKey ()
2121 panelServ := configuration .GetPanelServiceName ()
2222 if intKey == "" || panelServ == "" {
23- catcher .Error ("Internal key or panel service name is not set. Exiting..." , nil , map [ string ] any {} )
23+ catcher .Error ("Internal key or panel service name is not set. Exiting..." , nil , nil )
2424 os .Exit (1 )
2525 }
2626 client := utmconf .NewUTMClient (intKey , "http://" + panelServ )
@@ -33,7 +33,7 @@ func main() {
3333
3434 for range ticker .C {
3535 if err := utils .ConnectionChecker (configuration .LoginUrl ); err != nil {
36- catcher .Error ("External connection failure detected" , err , map [ string ] any {} )
36+ catcher .Error ("External connection failure detected" , err , nil )
3737 }
3838
3939 endTime := time .Now ().UTC ()
@@ -43,10 +43,10 @@ func main() {
4343 moduleConfig , err := client .GetUTMConfig (enum .O365 )
4444 if err != nil {
4545 if strings .Contains (err .Error (), "invalid character '<'" ) {
46- catcher .Error ("error getting configuration of the O365 module: backend is not available" , nil , map [ string ] any {} )
46+ catcher .Error ("error getting configuration of the O365 module: backend is not available" , nil , nil )
4747 }
4848 if strings .TrimSpace (err .Error ()) != "" {
49- catcher .Error ("error getting configuration of the O365 module" , err , map [ string ] any {} )
49+ catcher .Error ("error getting configuration of the O365 module" , err , nil )
5050 }
5151 continue
5252 }
0 commit comments