mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 19:05:30 +00:00
Better log message for bad LDAP connection
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user