From 77ea06e920ddae98d84a5038d437247ade9a52c4 Mon Sep 17 00:00:00 2001 From: totoro Date: Thu, 26 May 2022 03:35:27 +0200 Subject: [PATCH] change the way to show error when loading the vtm plugin. Now not show the different type anymore because it was useless. --- view/load_vtm.anubis | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/view/load_vtm.anubis b/view/load_vtm.anubis index 7f1262f..2205aaf 100644 --- a/view/load_vtm.anubis +++ b/view/load_vtm.anubis @@ -25,10 +25,8 @@ public define Maybe(VTM) file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure, bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+ " version ("+found+") as primary module ("+expected+").\n\n");failure, - wrong_type(expected,found) then print("Secondary module '"+file_name+"' has type:\n"+ - found+" while primary module expected:\n"+ - expected+"\n\n");failure, - ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) + wrong_type(expected,found) then print("Secondary module '"+file_name+"' has different type:\n");failure, + ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) }. define Maybe(VTM) -- libgit2 0.21.4