Skip to content

Commit a0ee644

Browse files
author
Alain Van Driessche
committed
Better Error Handling
1 parent 48d0306 commit a0ee644

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

resources/views/certificates.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
<img src="/images/download.svg">
4242
</a>
4343
@else
44-
{{-- @if($certificate_of_participation->status == 'ERROR')--}}
45-
{{-- Error with special characters.--}}
46-
{{-- @else--}}
44+
@if($certificate_of_participation->status == 'FAILED' ||$certificate_of_participation->status == 'ERROR')
45+
Error with encoding.
46+
@else
4747
Processing ...
48-
{{-- @endif--}}
48+
@endif
4949
@endif
5050
</td>
5151
</tr>

0 commit comments

Comments
 (0)