find_root doesn't throw error



Maxima 5.13.0 

(%i1) f(x):=log(x)+2-x$
(%i2) find_root( f(x), x,0,1 );
(%o2)               find_root(log(x) - x + 2, x, 0.0, 1.0)

I was puzzled for some seconds. In any other case I would believe, that find_root is not 
defined. find_root reacts misleading.
Then plot2d helps me

(%i3) plot2d(f,[x,0,1]);
log(0) has been generated.
#0: f(x=0.0)
 -- an error.  To debug this try debugmode(true);

I would like to see, that in such cases find_root throws an error too.

Volker van Nek