File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
packages/core/src/shared/utilities Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export abstract class CachedResource<V> {
8585 )
8686 }
8787 } else {
88- logger . debug ( `cache miss, pulling latest resource %s` , this . key )
88+ logger . info ( `cache miss, pulling latest resource %s` , this . key )
8989 }
9090
9191 /**
@@ -104,14 +104,11 @@ export abstract class CachedResource<V> {
104104 timestamp : now ( ) ,
105105 result : latest ,
106106 }
107- logger . debug ( `doen loading latest resource, updating resource cache: %s` , this . key )
107+ logger . info ( `doen loading latest resource, updating resource cache: %s` , this . key )
108108 await this . releaseLock ( r )
109109 return latest
110110 } catch ( e ) {
111- logger . debug (
112- `encountered unexpected error while loading the latest of resource(%s), releasing resource lock` ,
113- this . key
114- )
111+ logger . error ( `failed to load latest resource, releasing lock: %s` , this . key )
115112 await this . releaseLock ( )
116113 throw e
117114 }
You can’t perform that action at this time.
0 commit comments