diff options
Diffstat (limited to 'etc/default.fln')
-rw-r--r-- | etc/default.fln | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/default.fln b/etc/default.fln index 178af18..d3da5eb 100644 --- a/etc/default.fln +++ b/etc/default.fln | |||
@@ -15,8 +15,15 @@ | |||
15 | along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ | 15 | along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ |
16 | 16 | ||
17 | if (.Response.Errors) { | 17 | if (.Response.Errors) { |
18 | error("Error: ",.Response.Errors.Error.Message,"\n"); | 18 | if (.Response.Errors.Error.Code[DryRunOperation]) { |
19 | exit(1); | 19 | print(dequote(.Response.Errors.Error.Message),"\n"); |
20 | } else if (.Response.Errors.Error.Code[UnauthorizedOperation]) { | ||
21 | error(dequote(.Response.Errors.Error.Message),"\n"); | ||
22 | exit(1); | ||
23 | } else { | ||
24 | error("Error: ",dequote(.Response.Errors.Error.Message),"\n"); | ||
25 | exit(1); | ||
26 | } | ||
20 | } else { | 27 | } else { |
21 | error("Unrecognized response:\n"); | 28 | error("Unrecognized response:\n"); |
22 | dump(.); | 29 | dump(.); |