You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
TypeError - can't convert String into an exact number
when using the middleware, it would seem that this method:
def rendering_timed_out?
Time.now - @request.session["phantom-rendering"][render_to] > @options[:request_timeout]
end
is the culprit.
@request.session["phantom-rendering"][render_to] is returning a string, and not a Time object, resulting in this error. I monkey-patched it on my end to convert .to_time so that this would not break.
The text was updated successfully, but these errors were encountered:
I am getting
TypeError - can't convert String into an exact number
when using the middleware, it would seem that this method:
is the culprit.
@request.session["phantom-rendering"][render_to] is returning a string, and not a Time object, resulting in this error. I monkey-patched it on my end to convert .to_time so that this would not break.
The text was updated successfully, but these errors were encountered: