File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/evolution-frontend/src/actions/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export const checkConditional = (
6363 } catch ( error ) {
6464 // If there is an error during conditional check, just ignore the error and hide the field to reduce probability of side-effects.
6565 // TODO: define a better way to deal with errors.
66- console . warn ( `conditional error for ${ path } ` , error ) ;
66+ console . warn ( `conditional error for ${ path } : ` , error ) ;
6767 return [ false , undefined , undefined ] ;
6868 }
6969 } else {
@@ -108,8 +108,8 @@ export const checkChoiceConditional = (
108108 }
109109 } catch ( error ) {
110110 // If there is an error during conditional check, just ignore the error and hide the field to reduce probability of side-effects.
111- // TODO: add a server-side log of the error and define a better way to deal with errors.
112- console . log ( ' choice conditional error' , error ) ;
111+ // TODO: find a better way to deal with errors.
112+ console . warn ( ` choice conditional error for path ${ path } : ` , error ) ;
113113 return [ false , undefined ] ;
114114 }
115115 }
You can’t perform that action at this time.
0 commit comments