You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnNewResult(fmt.Sprint("554 Error: could not save email")), StorageError
}
But I see from the logs that everything works as it should! But in Python there is such a rule: Explicit is better than implicit.
Maybe it should be explicitly prescribed here?
PS: It is very inconvenient that errors in this place are written to various log files.
Error "There was a problem the insert" is always written at main.log, and "554 Error: could not save email" is always written at server.log.
The text was updated successfully, but these errors were encountered:
The return on line 120 is called naked and is possible because the function got a named return value execErr on line 100. Since error is an interface type, it defaults to nil at the start of the function. And this value is exactly what will be returned on line 120.
As I already wrote - I am new to golang (thank you for guerrilla - I’m learning from it!).
Perhaps there is not enough return value here:
go-guerrilla/backends/p_sql.go
Lines 117 to 120 in 15a3295
Maybe:
Because calling this method will always return
nil
:go-guerrilla/backends/p_sql.go
Lines 259 to 262 in 15a3295
But I see from the logs that everything works as it should! But in Python there is such a rule:
Explicit is better than implicit
.Maybe it should be explicitly prescribed here?
PS: It is very inconvenient that errors in this place are written to various log files.
Error "There was a problem the insert" is always written at
main.log
, and "554 Error: could not save email" is always written atserver.log
.The text was updated successfully, but these errors were encountered: