diff --git a/packages/lib/import-enex.js b/packages/lib/import-enex.js
index ba6b52545a..bc9c4a8ef1 100644
--- a/packages/lib/import-enex.js
+++ b/packages/lib/import-enex.js
@@ -528,7 +528,7 @@ function importEnex(parentFolderId, filePath, importOptions = null) {
 				if (noteResource.filename) {
 					const mimeTypeFromFile = mime.fromFilename(noteResource.filename);
 					if (mimeTypeFromFile && mimeTypeFromFile !== mimeType) {
-						importOptions.onError(new Error(`Invalid mime type "${mimeType}" for resource "${noteResource.filename}". Using "${mimeTypeFromFile}" instead.`));
+						console.info(`Invalid mime type "${mimeType}" for resource "${noteResource.filename}". Using "${mimeTypeFromFile}" instead.`);
 						mimeType = mimeTypeFromFile;
 					}
 				}
diff --git a/packages/lib/services/CommandService.ts b/packages/lib/services/CommandService.ts
index 72f7efcf5b..0d543bfd28 100644
--- a/packages/lib/services/CommandService.ts
+++ b/packages/lib/services/CommandService.ts
@@ -228,7 +228,7 @@ export default class CommandService extends BaseService {
 		// Some commands such as "showModalMessage" can be executed many
 		// times per seconds, so we should only display this message in
 		// debug mode.
-		this.logger().debug('CommandService::execute:', commandName, args);
+		if (commandName !== 'showModalMessage') this.logger().debug('CommandService::execute:', commandName, args);
 		if (!command.runtime) throw new Error(`Cannot execute a command without a runtime: ${commandName}`);
 		return command.runtime.execute(this.createContext(), ...args);
 	}