[vala] vapicheck: Fix unhandled error
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] vapicheck: Fix unhandled error
- Date: Wed, 30 Sep 2009 17:34:41 +0000 (UTC)
commit d04921e03d985ce73468189b7d2f57dd184d8ce8
Author: Jürg Billeter <j bitron ch>
Date: Wed Sep 30 19:32:46 2009 +0200
vapicheck: Fix unhandled error
vapigen/valavapicheck.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapigen/valavapicheck.vala b/vapigen/valavapicheck.vala
index 6122a01..cb4d479 100644
--- a/vapigen/valavapicheck.vala
+++ b/vapigen/valavapicheck.vala
@@ -145,7 +145,7 @@ class Vala.VAPICheck : Object {
}
return 0;
- } catch (FileError error) {
+ } catch (Error error) {
Report.error (null, "%s: %s".printf (metadata.filename, error.message));
return 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]