simplify no action output

This commit is contained in:
Rey5
2023-05-07 09:07:15 +08:00
parent 744d1ef05c
commit 6dd1b248f7

View File

@@ -160,7 +160,7 @@ try {
$result = $class::$action($params);
exit(json_encode(success($result)));
} else {
do_log('hack attempt '.print_r($CURUSER, true), 'error');
do_log("hacking attempt made by {$CURUSER['username']},uid {$CURUSER['id']}", 'error');
throw new \RuntimeException("no Action");
}
}catch(\Throwable $exception){