Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

[Bug] Scripting doesn't properly show the syntax error

Open NghiaTranUIT opened this issue 3 years ago • 1 comments

Description

If we use async func for the scripting, the app doesn't display the error.

///
async function onResponse(context, url, request, response) {
  // ❌ Syntax error here. $PATH_123 is not defined!
  const data = $PATH_123;  

  // Done
  return response;
}
Screen Shot 2022-07-31 at 09 22 47 ### Expected behavior - Proxyman Console Log should properly display the error message from JavascriptCore

Versions:

  • Proxyman 3.7.0
  • macOS 12.5

NghiaTranUIT avatar Jul 31 '22 02:07 NghiaTranUIT

Fixed with https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.7.0_Better_installing_root_certificate.dmg

NghiaTranUIT avatar Jul 31 '22 08:07 NghiaTranUIT