Taking about a minute do display error in development

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

What is the error message?

Colin

sleep 60 somewhere in the code?

Colin Law wrote in post #1075314:

Gintautas S. wrote in post #1075315:

sleep 60 somewhere in the code?

:wink:

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

Colin Law wrote in post #1075319:

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 :wink:

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.

thanks TheR

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