mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Preventing another Exception in the logs...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1739 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
48ef5ca0c9
commit
df65e846d7
1 changed files with 4 additions and 0 deletions
|
@ -258,6 +258,10 @@ namespace GreenshotPlugin.Core {
|
|||
}
|
||||
languageDirectories.Add(STARTUP_LANGUAGE_PATH);
|
||||
foreach(string path in languageDirectories) {
|
||||
if (!Directory.Exists(path)) {
|
||||
LOG.InfoFormat("Skipping non existing language path {0}", path);
|
||||
continue;
|
||||
}
|
||||
// Search in executable directory
|
||||
LOG.InfoFormat("Searching language directory '{0}' for language files with pattern '{1}'", path, languageFilePattern);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue