create-prisma-php-app 1.28.2 → 1.28.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -500,8 +500,14 @@ function wireCallback()
500
500
  ];
501
501
  }
502
502
  } else {
503
- // Invalid callback provided
504
- $response['error'] = 'Invalid callback';
503
+ if ($callbackName === 'appState_59E13') {
504
+ $response = [
505
+ 'success' => true,
506
+ 'response' => 'localStorage updated'
507
+ ];
508
+ } else {
509
+ $response['error'] = 'Invalid callback';
510
+ }
505
511
  }
506
512
  } else {
507
513
  $response['error'] = 'No callback provided';
@@ -869,6 +875,7 @@ try {
869
875
  $_errorDetails = "Unhandled Exception: " . htmlspecialchars($e->getMessage(), ENT_QUOTES, 'UTF-8');
870
876
  $_errorDetails .= "<br>File: " . htmlspecialchars($e->getFile(), ENT_QUOTES, 'UTF-8');
871
877
  $_errorDetails .= "<br>Line: " . htmlspecialchars($e->getLine(), ENT_QUOTES, 'UTF-8');
878
+ $_errorDetails .= "<br/>TraceAsString: " . htmlspecialchars($e->getTraceAsString(), ENT_QUOTES, 'UTF-8');
872
879
  $_errorDetails = "<div class='error'>$_errorDetails</div>";
873
880
  }
874
881
  modifyOutputLayoutForError($_errorDetails);