Fix bugs and log exceptions.

Log error message when no handlers are found.

Change string interpolation type for consistency.

Fixed attempting to `format` before the concatenation completed.