All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
I have no idea what could cause a problem.
by
TheR
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
I have no idea what could cause a problem.
by
TheR
On 10 September 2012 11:47, Damjan R. [email protected] wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
What is the error message?
Colin
Colin L. wrote in post #1075314:
On 10 September 2012 11:47, Damjan R. [email protected] wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.What is the error message?
Colin
There is no special error but any program error that may occur. It just
waits minute before program error is displayed. Be it in controller or
view or helper.
Gintautas S. wrote in post #1075315:
sleep 60 somewhere in the code?
2012/9/10 Colin L. [email protected]
On 10 September 2012 12:11, Damjan R. [email protected] wrote:
There is no special error but any program error that may occur. It just
waits minute before program error is displayed. Be it in controller or
view or helper.
Do you mean syntax errors, ruby run time errors, data validation
errors? Please show an example and post the section of
development.log that relates to the error.
Colin
On Mon, Sep 10, 2012 at 8:15 AM, Damjan R. [email protected]
wrote:
It is typical situation when you tell a problem to a friend the
problem resolves itself
Actually, this is a very good problem-solving technique. If you can’t
find a human to explain it to (best because they will ask questions),
try just pretending. Someone once wrote a blog post or article or
some such about explaining it to his rubber duckie, and the technique
has become known as rubber ducking.
-Dave
–
Dave A., Available Secret-Cleared Ruby/Rails Freelancer
(VA/DC/Remote);
see www.DaveAronson.com, www.Codosaur.us, and www.Dare2XL.com for more
info.
Colin L. wrote in post #1075319:
On 10 September 2012 12:11, Damjan R. [email protected] wrote:
There is no special error but any program error that may occur. It just
waits minute before program error is displayed. Be it in controller or
view or helper.Do you mean syntax errors, ruby run time errors, data validation
errors? Please show an example and post the section of
development.log that relates to the error.Colin
Thanks. It is typical situation when you tell a problem to a friend the
problem resolves itself
I had installed ExceptionNotifier recently and the darn thing is now
sending messages also in development environment. And since my
development server is not on the same firewall segment as production the
message could not be sent. And there was delay. I didn’t recognized
error until I tried to copy whole development log and find mail sending
error at the top.
Of course the solution was to disable ExceptionNotifier in development.
thanks
TheR
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs