centreon / centreon-open-tickets

Module dedicated to open case on various Ticket systems from Centreon UI
Apache License 2.0
10 stars 25 forks source link

improve easyvista error management #173

Closed tanguyvda closed 2 years ago

tanguyvda commented 3 years ago

when easyvista can't open a ticket, it returns a huge error message (most of the time with the sql query that failed on its side). Because we do not check if http code is 200, we try to put the error message in our mod open ticket databases as a ticket ID. And we don't display the error message to people so they don't know what happened to their ticket

sonarqube-decoration[bot] commented 3 years ago

SonarQube Quality Gate:
Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarqube-decoration[bot] commented 2 years ago

SonarQube Quality Gate:
Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarqube-decoration[bot] commented 2 years ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarqube-decoration[bot] commented 2 years ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

tanguyvda commented 2 years ago

closed by https://github.com/centreon/centreon-open-tickets/pull/249