Skip to content

Commit e6336aa

Browse files
committed
fix: log trace is not string in hasTags
1 parent c7caa5d commit e6336aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Traits/HasTags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public function generateTagRelationships(
3232
$modelClass::destroy($deletedTags);
3333
} catch (\Throwable $th) {
3434
Log::error('Faild creating/deleting tag relationships', [
35-
'message' => $th->getMessage(),
36-
'trace' => $th->getTrace(),
35+
'error' => $th->getMessage(),
36+
'trace' => $th->getTraceAsString(),
3737
]);
3838
}
3939
}

0 commit comments

Comments
 (0)