Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Internal: Changed console.error to console.warn.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Aug 19, 2019
1 parent 5661fb6 commit ba920b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/model/operation/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ export function transform( a, b, context = {} ) {

return transformationFunction( a, b, context );
} catch ( e ) {
// @if CK_DEBUG // console.error( 'Error during operation transformation!', e.message );
// @if CK_DEBUG // console.error( 'Transformed operation', a );
// @if CK_DEBUG // console.error( 'Operation transformed by', b );
// @if CK_DEBUG // console.error( 'context.aIsStrong', context.aIsStrong );
// @if CK_DEBUG // console.error( 'context.aWasUndone', context.aWasUndone );
// @if CK_DEBUG // console.error( 'context.bWasUndone', context.bWasUndone );
// @if CK_DEBUG // console.error( 'context.abRelation', context.abRelation );
// @if CK_DEBUG // console.error( 'context.baRelation', context.baRelation );
// @if CK_DEBUG // console.warn( 'Error during operation transformation!', e.message );
// @if CK_DEBUG // console.warn( 'Transformed operation', a );
// @if CK_DEBUG // console.warn( 'Operation transformed by', b );
// @if CK_DEBUG // console.warn( 'context.aIsStrong', context.aIsStrong );
// @if CK_DEBUG // console.warn( 'context.aWasUndone', context.aWasUndone );
// @if CK_DEBUG // console.warn( 'context.bWasUndone', context.bWasUndone );
// @if CK_DEBUG // console.warn( 'context.abRelation', context.abRelation );
// @if CK_DEBUG // console.warn( 'context.baRelation', context.baRelation );

throw e;
}
Expand Down

0 comments on commit ba920b2

Please sign in to comment.