Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.apache.spark.k8s.operator.config;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
Expand Down Expand Up @@ -94,6 +95,8 @@ private Properties getProperties(String filePath) {
Properties properties = new Properties();
try (InputStream inputStream = new FileInputStream(filePath)) {
properties.load(inputStream);
} catch (FileNotFoundException e) {
log.warn("File Not Found: {}", filePath);
} catch (IOException e) {
log.error("Failed to load properties from {}.", filePath, e);
}
Expand Down
Loading