tosdr / edit.tosdr.org

👍👎 A new web app to rate services
https://edit.tosdr.org
GNU Affero General Public License v3.0
211 stars 37 forks source link

TypeError: no implicit conversion of nil into String #1105

Closed jrb-it-sentry[bot] closed 1 year ago

jrb-it-sentry[bot] commented 1 year ago

Sentry Issue: PHOENIX-Y

TypeError: no implicit conversion of nil into String
  app/controllers/documents_controller.rb:184:in `+'
    @document_comment.summary = '<span class="label label-danger">Attempted to Crawl Document</span><br>Error Message: <kbd>'+ @tbdoc.apiresponse["message"]["name"] +'</kbd><br>Crawler: <kbd>'+ @tbdoc.apiresponse["message"]["crawler"] + '</kbd><br>Stacktrace: <kbd>'+ @tbdoc.apiresponse["message"]["remoteStacktrace"] + "</kbd>"
  app/controllers/documents_controller.rb:184:in `perform_crawl'
    @document_comment.summary = '<span class="label label-danger">Attempted to Crawl Document</span><br>Error Message: <kbd>'+ @tbdoc.apiresponse["message"]["name"] +'</kbd><br>Crawler: <kbd>'+ @tbdoc.apiresponse["message"]["crawler"] + '</kbd><br>Stacktrace: <kbd>'+ @tbdoc.apiresponse["message"]["remoteStacktrace"] + "</kbd>"
  app/controllers/documents_controller.rb:127:in `crawl'
    crawlresult = perform_crawl
...
(73 additional frame(s) were not displayed)
jrb-it-sentry[bot] commented 1 year ago

Sentry issue: PHOENIX-11

JustinBack commented 1 year ago

Fixed in 1.2.8