private void HandleNotSupportedByDialectException(MigrationInfo migrationInfo, NotSupportedByDialect nse) { if (IgnoreDialectNotSupportedActions) { Log.Warn( String.Format( "Migration[{0}] NotSupportedException not thrown due user config. Dialect: {1} Function: {2} Msg: {3}", migrationInfo.Name, nse.DialectName, nse.FunctionName, nse.Message)); return; } throw nse; }
public void Warn(object message) { _logger.Warn(message); AddComment(message); }