rescue SQLite3::BusyException and go forward
Set error variable in rescue
Fix typo
Close databeses after using :scream:
Add another rescue to SQLite3::BusyException
Refactor

Use print_error($log, e, <message>)
instead of $log.error(e.message + "<message>")