Fossil SCM
Report the phase of operation in error log messages.
Commit
49f676e3b3c8c39e693232b4ec84cdb0954ec4be532d6e71ad7ad544c2c0bef7
Parent
c8777eeb43cfb99…
1 file changed
+1
+1
| --- src/printf.c | ||
| +++ src/printf.c | ||
| @@ -1073,10 +1073,11 @@ | ||
| 1073 | 1073 | zFormat++; |
| 1074 | 1074 | } |
| 1075 | 1075 | vfprintf(out, zFormat, ap); |
| 1076 | 1076 | fprintf(out, "\n"); |
| 1077 | 1077 | va_end(ap); |
| 1078 | + if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase); | |
| 1078 | 1079 | if( bDetail ){ |
| 1079 | 1080 | cgi_print_all(1,3,out); |
| 1080 | 1081 | }else{ |
| 1081 | 1082 | for(i=0; i<count(azEnv); i++){ |
| 1082 | 1083 | char *p; |
| 1083 | 1084 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -1073,10 +1073,11 @@ | |
| 1073 | zFormat++; |
| 1074 | } |
| 1075 | vfprintf(out, zFormat, ap); |
| 1076 | fprintf(out, "\n"); |
| 1077 | va_end(ap); |
| 1078 | if( bDetail ){ |
| 1079 | cgi_print_all(1,3,out); |
| 1080 | }else{ |
| 1081 | for(i=0; i<count(azEnv); i++){ |
| 1082 | char *p; |
| 1083 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -1073,10 +1073,11 @@ | |
| 1073 | zFormat++; |
| 1074 | } |
| 1075 | vfprintf(out, zFormat, ap); |
| 1076 | fprintf(out, "\n"); |
| 1077 | va_end(ap); |
| 1078 | if( g.zPhase!=0 ) fprintf(out, "while in %s\n", g.zPhase); |
| 1079 | if( bDetail ){ |
| 1080 | cgi_print_all(1,3,out); |
| 1081 | }else{ |
| 1082 | for(i=0; i<count(azEnv); i++){ |
| 1083 | char *p; |
| 1084 |