Improved trapping of DNS errors when unable to contact LDAP server, should help #211
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 29s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 29s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
This commit is contained in:
@@ -5,5 +5,34 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
{{ $exception->getMessage() }}
|
||||
@switch($exception->getMessage())
|
||||
@case("Can't contact LDAP server")
|
||||
<table class="table table-sm table-borderless table-condensed">
|
||||
<tr>
|
||||
<th>@lang('Error')</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">{{ $exception->getMessage() }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>@lang('Possible Causes')</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<ul>
|
||||
<li>@lang('Your LDAP server is not connectable')</li>
|
||||
<li>@lang('Your LDAP server hostname is incorrect')</li>
|
||||
<li>@lang('Your DNS server cannot resolve that hostname')</li>
|
||||
<li>@lang('Your Resolver is not pointing to your DNS server')</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@break
|
||||
|
||||
@default
|
||||
{{ $exception->getMessage() }}
|
||||
@endswitch
|
||||
@endsection
|
Reference in New Issue
Block a user