Put a timer in the getError() section

That way the error is always visible for a certain amount of time.