From: Matthias Braun Date: Fri, 19 Nov 2004 00:09:58 +0000 (+0000) Subject: improve exception feedback a bit X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=546364c9567ef212ea9276201facf73f5ada696a;p=supertux.git improve exception feedback a bit SVN-Revision: 2108 --- diff --git a/SConstruct b/SConstruct index d4ddd385b..d071c5c0c 100644 --- a/SConstruct +++ b/SConstruct @@ -10,8 +10,8 @@ def Glob(dirs, pattern = '*' ): for file in os.listdir( Dir(dir).srcnode().abspath ): if fnmatch.fnmatch(file, pattern) : files.append( os.path.join( dir, file ) ) - except: - print "Warning, couldn't find directory " + dir + except Exception, e: + print "Warning, couldn't find directory '%s': %s" % (dir, str(e)) return files