Hi Damien,
Notice the f() in the original example that is a fun with which I think you are not have any...
HTH
George
----- Original message -----
> Maybe I'm just blind or having a braindead day ... but I cannot see why
> this error is thrown
>
> {badarg,[{erlang,atom_to_list,
> [{ehtml,{html,[],{p,[],"Error: file not found"}}}]},
> {yaws_api,ehtml_expand,1},
> {yaws_api,ehtml_expand,1},
> {yaws_server,safe_ehtml_expand,1},
> {yaws_server,handle_out_reply,5},
> {yaws_server,deliver_dyn_part,8},
> {yaws_server,aloop,3},
> {yaws_server,acceptor0,2}]}
> for this code
>
> false ->
> {ehtml,
> { html, [],
> {p,[],"Error: file not found"}
> }}
>
> when the manual for 1.9 has the following example
>
> Err ->
> {ehtml,
> {html, [],
> {p, [], f("Bad login: ~p",[Err])}}}
>
> which from what I can see is the same structure as the code above ...
> (apart from the formatted vs plain error code)
>
> Thanks
>
> Damien