akvo / akvo-flow-services

Akvo Flow service applications for reporting, bulk uploads and others
Other
4 stars 1 forks source link

Errors appearing in Google Console #277

Closed dlebrero closed 4 years ago

dlebrero commented 4 years ago

Some errors are showing up in the Google Alerts panel. They should just appear in Sentry.

For example, https://console.cloud.google.com/errors/CPKhttnBsrnWfg?time=P30D&project=akvo-lumen&authuser=1

Note that this issue is not about fixing this particular exception, but to make sure that these errors are reported through Sentry and only Sentry.

java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.waterforpeople.mapping.dataexport.GraphicalSurveySummaryExporter.processOptions (GraphicalSurveySummaryExporter.java:2122)
at org.waterforpeople.mapping.dataexport.GraphicalSurveySummaryExporter.export (GraphicalSurveySummaryExporter.java:218)
at akvo.flow_services.exporter$export_report.invokeStatic (exporter.clj:75)
at akvo.flow_services.exporter$export_report.invoke (exporter.clj:58)
at akvo.flow_services.scheduler$run_report.invokeStatic (scheduler.clj:98)
at akvo.flow_services.scheduler$run_report.invoke (scheduler.clj:91)
at akvo.flow_services.scheduler$do_export$fn__7702.invoke (scheduler.clj:115)
at akvo.flow_services.scheduler$do_export.invokeStatic (scheduler.clj:115)
at akvo.flow_services.scheduler$do_export.invoke (scheduler.clj:113)
at akvo.flow_services.scheduler.ExportJob.execute (scheduler.clj:121)
at org.quartz.core.JobRunShell.run (JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.java:557)
iperdomo commented 4 years ago

As mentioned in the chat, this was a quick hack to get visibility on the problem. This change was introduced in rev dda08c38