Better log message for bad LDAP connection
This commit is contained in:
parent
6736b1c4e7
commit
984c2a8fd4
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class SettingsController extends Controller
|
||||||
//return response()->json(['message' => $e->getMessage()], 500);
|
//return response()->json(['message' => $e->getMessage()], 500);
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} 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);
|
return response()->json(['message' => $e->getMessage()], 600);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue