File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 58
58
background-color : black ;
59
59
}
60
60
61
+ .ot-icon-error ::before ,
61
62
.ot-icon-question ::before {
62
63
content : '?' ;
63
64
display : block ;
Original file line number Diff line number Diff line change @@ -27,8 +27,14 @@ let%shared default_fail e =
27
27
[
28
28
if Eliom_config. get_debugmode ()
29
29
then em [ pcdata (Printexc. to_string e) ]
30
- else em ~a: [ a_class [" ot-icon-question" ] ]
31
- [ pcdata (Printexc. to_string e) ] ]
30
+ else begin
31
+ let e = Printexc. to_string e in
32
+ ignore [% client (Firebug. console##error
33
+ (Js. string (" Ot_spinner content failed with " ^ ~% e))
34
+ : unit )];
35
+ em ~a: [ a_class [" ot-icon-error" ] ] []
36
+ end
37
+ ]
32
38
33
39
let % server with_spinner ?(a = [] ) ?fail thread =
34
40
let a = (a :> Html_types.div_attrib attrib list ) in
You can’t perform that action at this time.
0 commit comments