Skip to content

Fix the example level: warn must be warning - #1

Merged
lmajano merged 1 commit into
coldbox-modules:developmentfrom
davidsf:fix-warn-type
Jun 11, 2019
Merged

lmajano merged 1 commit into
coldbox-modules:developmentfrom
davidsf:fix-warn-type

Conversation

@davidsf

@davidsf davidsf commented Jun 11, 2019

Copy link
Copy Markdown

Fix in the readme example, the level is 'warn' but is not supported by sentry:

Error Type [warn] is invalid. Must be one of the following : [fatal, error, warning, info, debug]

changed to 'warning'

@lmajano
lmajano merged commit 7f37175 into coldbox-modules:development Jun 11, 2019
@bdw429s

bdw429s commented Jun 14, 2019

Copy link
Copy Markdown
Contributor

Actually, instead of changing the docs, I'd rather make that work. I already have a fix in place whereby the LogBox appender bridge auto-changes warn to warning.

@bdw429s

bdw429s commented Jun 14, 2019

Copy link
Copy Markdown
Contributor

The original example in the readme now works fine as of this commit

6c336c2

@davidsf @lmajano

jclausen pushed a commit that referenced this pull request Jul 14, 2026
1. Make prefix checks include the colon: 'Caused by:' and 'Suppressed:'
   instead of 'Caused by' and 'Suppressed'
2. Simplify last-dot iteration with listToArray/arrayToList instead of
   manual character loop
3. Fix indentation after removing the if(lastDot>1) block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants