mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve error handling when trying to access OSDU data
Show more details when support for SSL is missing. Move connection of signal/slot away from constructor. This makes it possible to use ResInsight even if SSL is not available.
This commit is contained in:
@@ -182,8 +182,10 @@ bool RimWellPathCollection::loadDataAndUpdate()
|
||||
|
||||
if ( hasOsduData( allWellPaths() ) )
|
||||
{
|
||||
auto osduConnector = RiaApplication::instance()->makeOsduConnector();
|
||||
osduConnector->requestTokenBlocking();
|
||||
if ( auto osduConnector = RiaApplication::instance()->makeOsduConnector() )
|
||||
{
|
||||
osduConnector->requestTokenBlocking();
|
||||
}
|
||||
}
|
||||
|
||||
caf::DataLoadController* dataLoadController = caf::DataLoadController::instance();
|
||||
|
||||
Reference in New Issue
Block a user