Rev 1200 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1200 | Rev 1201 | ||
---|---|---|---|
Line 61... | Line 61... | ||
61 | 61 | ||
62 | OIDplus::invoke_shutdown(); |
62 | OIDplus::invoke_shutdown(); |
63 | 63 | ||
64 | VtsBrowserDownload::output_file($local_file); |
64 | VtsBrowserDownload::output_file($local_file); |
65 | } catch (\Exception $e) { |
65 | } catch (\Exception $e) { |
- | 66 | $htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage()); |
|
66 | echo '<h1>'._L('Error').'</h1><p>'.htmlentities($e->getMessage()).'<p>'; |
67 | echo '<h1>'._L('Error').'</h1><p>'.$htmlmsg.'<p>'; |
67 | } |
68 | } |