Mike 4 years ago
parent
commit
02ebb7807f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/Helpers/functions.php

+ 2 - 3
app/Helpers/functions.php

@@ -35,9 +35,8 @@ if (!function_exists('exit_out')) {
         }
         }
 
 
         $json = json_encode($out, JSON_UNESCAPED_UNICODE);
         $json = json_encode($out, JSON_UNESCAPED_UNICODE);
-        echo $json;
-        die();
-        //throw new ExitOutException($json);
+
+        throw new ExitOutException($json);
     }
     }
 }
 }