Kaydet (Commit) a43a76cd authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Differenciate error messages to know quickly what failed

Change-Id: I4a445c345706351da8f022180d142249340acd2f
üst 823b334a
...@@ -124,7 +124,7 @@ sub get_core_files ...@@ -124,7 +124,7 @@ sub get_core_files
find_core_files($files_hash_ref); find_core_files($files_hash_ref);
if ( !keys %$files_hash_ref ) { if ( !keys %$files_hash_ref ) {
print_error("can't find any config files in '$files_path'", 3); print_error("can't find any core config files in '$files_path'", 3);
} }
return wantarray ? @main::file_list : \@main::file_list; return wantarray ? @main::file_list : \@main::file_list;
...@@ -149,7 +149,7 @@ sub get_lang_files ...@@ -149,7 +149,7 @@ sub get_lang_files
find_lang_files($files_hash_ref, $lang); find_lang_files($files_hash_ref, $lang);
if ( !keys %$files_hash_ref ) { if ( !keys %$files_hash_ref ) {
print_error("can't find any config files in '$files_path'", 3); print_error("can't find any lang config files in '$files_path'", 3);
} }
return wantarray ? @main::file_list : \@main::file_list; return wantarray ? @main::file_list : \@main::file_list;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment