Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #9182] Better message for apply errors #2968

Closed
icinga-migration opened this issue Apr 27, 2015 · 10 comments
Closed

[dev.icinga.com #9182] Better message for apply errors #2968

icinga-migration opened this issue Apr 27, 2015 · 10 comments
Labels
enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9182

Created by mfriedrich on 2015-04-27 08:43:04 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-08-30 18:50:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-08-30 18:50:04 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

  • more context (host, service, ...)

Steps to reproduce:

  • Create a new workqueue
  • Create a task which throws exceptions (including errinfo())
  • Insert tasks into Workqueue
  • Start WQ with multiple threads
  • Wait for WQ to finish and clone exceptions
  • Log the exceptions

Changesets

2016-08-30 18:46:23 +00:00 by gbeutner dca185a

Implement support for libcxxabi

refs #9182

2016-08-30 18:46:23 +00:00 by gbeutner 68dceaa

Replace boost::exception_ptr with std::exception_ptr

refs #9182

2016-08-30 18:46:23 +00:00 by gbeutner 8c50c6f

Add context traces to most exceptions

fixes #9182

2016-08-31 11:37:13 +00:00 by gbeutner ba14c6e

Build fix for Windows

refs #9182

2016-08-31 11:43:50 +00:00 by gbeutner 06cb3cf

Another build fix for Windows

refs #9182

Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-04-27 08:43:10 +00:00

  • Relates set to 9170

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-04-27 09:13:01 +00:00

  • Relates set to 6070

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-02-25 00:11:36 +00:00

  • Relates set to 11207

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-04-07 10:45:00 +00:00

  • Target Version set to 2.5.0

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-16 08:32:42 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-22 13:00:41 +00:00

  • Description updated

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-07-07 13:46:54 +00:00

  • Target Version changed from 2.5.0 to 2.6.0

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-08-30 18:38:50 +00:00

  • Category changed from libicinga to libbase
  • Assigned to changed from mfriedrich to gbeutner

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-08-30 18:41:45 +00:00

acheron:icinga2 gunnar$ icinga2a daemon -C
information/cli: Icinga application loader (version: v2.5.3-88-g40536d3)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
information/ApiListener: My API identity: i2a.acheron.beutner.name
critical/config: Error: Error while evaluating expression: Tried to access undefined script variable 'x'
Location: in /Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf: 2:15-2:15
/Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf(1): apply Service "test" {
/Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf(2):  assign where x
                                                                  ^
/Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf(3): }
/Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf(4):

        (0) Evaluating 'apply' rule (in /Users/gunnar/i2/etc-a/icinga2/conf.d/test.conf: 1:0-1:19)
        (1) Evaluating 'apply' rules for host 'acheron.beutner.name'

critical/config: 1 error
acheron:icinga2 gunnar$

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-08-30 18:50:04 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 8c50c6f.

@icinga-migration icinga-migration added enhancement New feature or request libbase labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.6.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant