mirror of https://github.com/apache/nifi.git
Modify an error message
This commit is contained in:
parent
d32a32a92d
commit
f718b4bf46
|
@ -56,7 +56,7 @@ public class TestDeleteS3Object {
|
||||||
CreateBucketRequest request = new CreateBucketRequest(TEST_BUCKET, TEST_REGION);
|
CreateBucketRequest request = new CreateBucketRequest(TEST_BUCKET, TEST_REGION);
|
||||||
client.createBucket(request);
|
client.createBucket(request);
|
||||||
} catch (final AmazonS3Exception e) {
|
} catch (final AmazonS3Exception e) {
|
||||||
System.out.println(TEST_BUCKET + " already exists.");
|
System.out.println("Can't create the key " + TEST_BUCKET + ":" + e.toString());
|
||||||
} catch (final IOException e) {
|
} catch (final IOException e) {
|
||||||
System.out.println(CREDENTIALS_FILE + " doesn't exist.");
|
System.out.println(CREDENTIALS_FILE + " doesn't exist.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue