Print some debug info, crash in case there is no secret file.
This commit is contained in:
parent
200c00e05f
commit
89fcc401a7
@ -164,6 +164,12 @@ class AuthD::Service < IPC
|
|||||||
|
|
||||||
Baguette::Log.info "(mailer) Email activation template: #{@configuration.activation_template}"
|
Baguette::Log.info "(mailer) Email activation template: #{@configuration.activation_template}"
|
||||||
Baguette::Log.info "(mailer) Email recovery template: #{@configuration.recovery_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|
|
self.loop do |event|
|
||||||
case event.type
|
case event.type
|
||||||
|
Loading…
Reference in New Issue
Block a user