Skip to content

Commit 7f2d32b

Browse files
fixed snyk issue and updated license year
1 parent 2f1ae78 commit 7f2d32b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2012-2025 Contentstack (http://app.contentstack.com). All Rights Reserved
3+
Copyright (c) 2012-2026 Contentstack (http://app.contentstack.com). All Rights Reserved
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/Stack/BaseQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ public function getQuery()
10101010
try {
10111011
return json_decode(json_encode($this->subQuery), true);
10121012
} catch (\Exception $e) {
1013-
echo $e->getMessage();
1013+
throw new \Exception($e->getMessage());
10141014
}
10151015
}
10161016
}

src/Support/Utility.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public static function validateInput($type = '', $input = array())
9595
}
9696
return $input;
9797
} catch (\Exception $e) {
98-
echo "Validation Exception: ".$e->getMessage();
9998
throw new \Exception($e->getMessage());
10099
}
101100
}

0 commit comments

Comments
 (0)