[skip ci] tweak
This commit is contained in:
1 parent
763d7e1309
commit
f742826b8d
2 files changed
+6
-1
No files matched your search
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
- Nothing worth mentioning yet.
|
||||||
|
|
||||||
## [0.41.11] - 2025-09-17
|
## [0.41.11] - 2025-09-17
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -33,10 +33,11 @@ namespace Sentry
|
|||||||
hasAttachments = IsArray(event.attachments) and event.attachments.Count() > 0
|
hasAttachments = IsArray(event.attachments) and event.attachments.Count() > 0
|
||||||
|
|
||||||
if (not SUPPORTS_ATTACHMENTS) and hasAttachments
|
if (not SUPPORTS_ATTACHMENTS) and hasAttachments
|
||||||
message += `\nAttachments:`
|
message += `\nAttachments: (${event.attachments.Count()} files)`
|
||||||
for each attachment in event.attachments
|
for each attachment in event.attachments
|
||||||
message += `\nAttachment: ${attachment.filename} (${attachment.content_type})\n${attachment.data}`
|
message += `\nAttachment: ${attachment.filename} (${attachment.content_type})\n${attachment.data}`
|
||||||
end for
|
end for
|
||||||
|
message += `\nEnd of attachments.`
|
||||||
end if
|
end if
|
||||||
|
|
||||||
eventPayload = {
|
eventPayload = {
|
||||||
|
|||||||
Reference in new issue
Block a user