We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fa5c5 commit 35365ccCopy full SHA for 35365cc
src/SentryTarget.php
@@ -118,11 +118,11 @@ public function export()
118
\Sentry\withScope(function (Scope $scope) use ($text, $level, $data) {
119
if (is_array($text)) {
120
if (isset($text['msg'])) {
121
- $data['message'] = $text['msg'];
+ $data['message'] = (string)$text['msg'];
122
unset($text['msg']);
123
}
124
if (isset($text['message'])) {
125
- $data['message'] = $text['message'];
+ $data['message'] = (string)$text['message'];
126
unset($text['message']);
127
128
0 commit comments