You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unlessFile.exist?(config.panorama_var_home)# Ensure that directory exists
156
+
unlessFile.directory?(config.panorama_var_home)# Ensure that directory exists
157
157
begin
158
158
Dir.mkdirconfig.panorama_var_home
159
159
raise"Directory #{config.panorama_var_home} does not exist and could not be created"unlessFile.exist?(config.panorama_var_home)
160
160
rescueException=>e
161
-
logger.error('Panorama::Application'){"Error #{e.class}:#{e.message} while creating #{config.panorama_var_home}"}
161
+
logger.error('Panorama::Application'){"Error #{e.class}:#{e.message} while creating the missing directory PANORAMA_VAR_HOME = #{config.panorama_var_home}"}
162
162
exit!1# Ensure application terminates if initialization fails
0 commit comments