summaryrefslogtreecommitdiff
path: root/ucode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucode.c')
-rw-r--r--ucode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ucode.c b/ucode.c
index 69da3da..e76f441 100644
--- a/ucode.c
+++ b/ucode.c
@@ -195,6 +195,9 @@ uh_ucode_exception(uc_vm_t *vm, uc_exception_t *ex)
{
uc_value_t *ctx;
+ if (ex->type == EXCEPTION_EXIT)
+ return;
+
printf("Status: 500 Internal Server Error\r\n\r\n"
"Exception while executing ucode program %s:\n",
current_prefix->handler);