File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
main/java/uk/nhs/adaptors/gp2gp/common/configuration
test/java/uk/nhs/adaptors/gp2gp/common/configuration Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public S3Client getS3Client() throws ConfigurationException {
3939 return S3Client .builder ().build ();
4040 }
4141
42- throw new ConfigurationException ("S3Client cannot be instantiated due to trust store URL misconfiguration" );
42+ throw new ConfigurationException ("S3Client cannot be instantiated: "
43+ + "Trust store URL is either not set or does not start with the 's3://' prefix." );
4344 }
4445}
Original file line number Diff line number Diff line change 99
1010class AppInitializerTest {
1111
12- public static final String EXPECTED_ERROR_MESSAGE = "S3Client cannot be instantiated due to trust store URL misconfiguration" ;
12+ public static final String EXPECTED_ERROR_MESSAGE = "S3Client cannot be instantiated: "
13+ + "Trust store URL is either not set or does not start with the 's3://' prefix." ;
1314 private AppInitializer appInitializer ;
1415 private StorageConnectorConfiguration storageConnectorConfiguration ;
1516
You can’t perform that action at this time.
0 commit comments