mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Better log message for bad LDAP connection
This commit is contained in:
parent
6736b1c4e7
commit
984c2a8fd4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue