I just saw this Drupal message appear on a site, and can't find a quick way to adjust it without removing it:

drupal_set_message('Oops, looks like this request tried to create an infinite loop. We do not allow such things here. We are a professional website!');

Would it be possible to simply make it:

drupal_set_message('This request tried to create an infinite loop and has been canceled.');

Comments

mstrelan’s picture

I agree, but I think more appropriate would simply be to report it to watchdog(). The pages still load fine and there is no reason visitors need to see this message! It's the same as displaying PHP notices to visitors about how poorly the code is written.

dave reid’s picture

Issue summary: View changes
Status: Active » Fixed

It has already been removed from the latest code, 7.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.