Better log message for bad LDAP connection

This commit is contained in:
snipe 2019-07-15 14:10:57 -07:00
parent 6736b1c4e7
commit 984c2a8fd4

View file

@ -38,7 +38,7 @@ class SettingsController extends Controller
//return response()->json(['message' => $e->getMessage()], 500);
}
} catch (\Exception $e) {
\Log::debug('Connection failed');
\Log::debug('Connection failed but we cannot debug it any further on our end.');
return response()->json(['message' => $e->getMessage()], 600);
}