Print some debug info, crash in case there is no secret file.

This commit is contained in:
Philippe Pittoli 2024-11-25 10:09:21 +01:00
parent 200c00e05f
commit 89fcc401a7

View File

@ -164,6 +164,12 @@ class AuthD::Service < IPC
Baguette::Log.info "(mailer) Email activation template: #{@configuration.activation_template}"
Baguette::Log.info "(mailer) Email recovery template: #{@configuration.recovery_template}"
if skf = @configuration.secret_key_file
Baguette::Log.info "secret key file is: #{skf}"
else
Baguette::Log.error "no secret key file"
exit 1
end
self.loop do |event|
case event.type