The spec_from_loader() function does not check for validity of the file. So 
simply check for presence of the file. Also adds a little try-except around the 
module execution to print an additional message pointing towards the 
replication script if loading of the module goes wrong.

Fixes #2464.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466

-- Commit Summary --

  * test script: test for file presence of replication script

-- File Changes --

    M scripts/osm2pgsql-test-style (16)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466.patchhttps://github.com/osm2pgsql-dev/osm2pgsql/pull/2466.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to