catch and log API related exceptions

raising exceptions on after commit hooks cause another exception
(rollback missing transaction) and ingests the original exception
explicit datetime format
1.1