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 #8711] JS is logging "ugly" side exceptions #1474

Closed
icinga-migration opened this issue Mar 12, 2015 · 4 comments
Closed

[dev.icinga.com #8711] JS is logging "ugly" side exceptions #1474

icinga-migration opened this issue Mar 12, 2015 · 4 comments
Labels
area/javascript Affects the javascript framework bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by tgelf on 2015-03-12 10:40:09 +00:00

Assignee: mjentsch
Status: Closed (closed on 2015-04-16 11:01:52 +00:00)
Target Version: 2.0.0-rc1
Last Update: 2015-04-16 11:01:52 +00:00 (in Redmine)


They occupy multiple lines in your JS console, seems that there are traces of empty tabs (the X is shown).

Cheers,
Thomas

Changesets

2015-04-16 10:15:59 +00:00 by mjentsch aa409bd

Fix formatting of js error log entries generated from responses

Replace multiple whitespace characters with a single one and remove linebreaks.

refs #8711
@icinga-migration
Copy link
Author

Updated by elippmann on 2015-04-02 11:05:01 +00:00

  • Category set to JavaScript
  • Target Version set to 2.0.0-rc1

@icinga-migration
Copy link
Author

Updated by mjentsch on 2015-04-16 10:13:06 +00:00

  • Assigned to set to mjentsch

The exception is caused by an invalid dashlet URL.

The ugliness comes from the fact that our loader will use .text(), which doesn't remove linebreaks when generating the error message from the response.

@icinga-migration
Copy link
Author

Updated by icinga-kanban on 2015-04-16 10:23:25 +00:00

Build !#692 triggered by commit aa409bd passed successfully.

Branch: origin/master
Author: Matthias Jentsch

@icinga-migration
Copy link
Author

Updated by mjentsch on 2015-04-16 11:01:52 +00:00

  • Status changed from New to Closed
  • Done % changed from 0 to 100

@icinga-migration icinga-migration added bug Something isn't working area/javascript Affects the javascript framework labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.0.0-rc1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/javascript Affects the javascript framework bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant