checking raven.debug exit code + marking isAdminCurrentDb when user is a global admin