question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WithErrorMessage/WithCustomState/WithErrorCode PropertyValue

See original GitHub issue

Would it be possible to add {PropertyValue} to the error message thrown by WithErrorMessage/WithCustomState/WithErrorCode?

So, instead of Expected an error message of ‘‘Address’ should not be empty.’ it would throw Expected an error message of '‘Address’ should not be empty. Error message was ‘‘Address’ must not be empty.’

Or is that not possible with how the extensions are structured?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JeremySkinnercommented, Feb 21, 2018

I’ve committed this change. It’ll be in the 7.5 release.

0reactions
JeremySkinnercommented, Feb 26, 2018

I’ve released 7.5 to nuget today that includes this fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found