You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the public function Error($msg) in the file tcpdi_parser.php is calling the die() function.
Please replace this die function with an exception throw, so it would be possible to catch the exception in error case.
public function Error($msg) {
//throw exception instead of die();
throw new Exception("TCPDI_PARSER ERROR [{$this->uniqueid}]: ".$msg,1);
// exit program and print error
//die("<strong>TCPDI_PARSER ERROR [{$this->uniqueid}]: </strong>".$msg);
}
The text was updated successfully, but these errors were encountered:
frpuser
changed the title
throw Exceptions instead of die()
throw exceptions instead of die()
Nov 3, 2022
In the public function Error($msg) in the file tcpdi_parser.php is calling the die() function.
Please replace this die function with an exception throw, so it would be possible to catch the exception in error case.
The text was updated successfully, but these errors were encountered: