This looks cool.
If it's a wormhole, then who knows what would really happen. Wormholes are theorized to be possible as means of transportation - a folding of space as we know it. However, this concept is heavily reliant on the Einstein interpretation of what space really is. That is to say, space-time is an infinite flat sheet, in which dense cosmic objects (such as planets and stars) curve the space around them. Sort of like putting a steel ball on a suspended piece of cloth. Indent the sheet enough with enough mass and you can get certain parts of the cloth to intersect each other. Theoretically speaking it's possible, but in practicality, we would have to amass a ludicrous amount of energy.
If it's a black hole, then that would be fundamentally stupid. Gravitational tidal forces from any stellar black hole would spaghettify even an atom - let alone a spaceship. Physicists would have probably told the writers that no space mission would entail sending a crewed vessel into a point in space which technically no longer exists in our time and reality. People perceive black holes to be spinning vacuums in space, but they are in fact - actual holes in the fabric of our universe.
Still, whatever they choose - it looks cool.