aarronc / hutton-helper

data collection tool to aid in better management of the BGS
9 stars 4 forks source link

SAASignalsFound handling broken #76

Closed ghost closed 4 years ago

ghost commented 4 years ago

While debugging an EDMC crash, I came across quite a few error messages in the EDMC log file with the following content:

event: SAASignalsFound

404 POST http://forthemug.com:4567/saasignalsfound ms=142

'<!DOCTYPE html>\n\n\n \n\n\n

Sinatra doesn\xe2\x80\x99t know this ditty.

\n <img src=\'http://forthemug.com:4567/__sinatra__/404.png\'>\n
\n Try this:\n
# in app.rb\nclass MyApp\n  post '/saasignalsfound' do\n    "Hello World"\n  end\nend\n
\n
\n\n\n'

aarronc commented 4 years ago

Thanks for letting me know. I had a typo in the back end route. All fixed now