Better try-catch and error reporting mode for mysqli connector
small fix in exception displaying
Assets helper