After some discussion with @maxaudron, we decided to just implement this case by printing an error and exiting.
I also created a new function, log_error, that works basically the same as log_info except it prints to stderr and prepends Error: to the message, to make it clear to the user it's an error. I also changed sasl_error_hook to use this function instead of err.
After some discussion with @maxaudron, we decided to just implement this case by printing an error and exiting. I also created a new function,
log_error
, that works basically the same aslog_info
except it prints tostderr
and prependsError:
to the message, to make it clear to the user it's an error. I also changedsasl_error_hook
to use this function instead oferr
.