Adding check for database connection before trying to use it on get_node_type
Adding check for database connection before trying to use it on get_node_type

RandomWireTechnologies/ctrl-o-node,RandomWireTechnologies/ctrl-o-node,RandomWireTechnologies/ctrl-o-node