show db and general error for development mode