Skip to content

Commit 1a973a3

Browse files
updates
1 parent 253367c commit 1a973a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dbatools.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'dbatools.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '0.8.959'
14+
ModuleVersion = '0.8.960'
1515

1616
# ID used to uniquely identify this module
1717
GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789'

functions/Copy-DbaSysDbUserObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function Copy-DbaSysDbUserObject {
113113
$transfer.Options.Permissions = $true
114114
$transfer.Options.WithDependencies = $false
115115

116-
Write-Message -Level Warning -Message "Copying from $systemDb"
116+
Write-Message -Level Output -Message "Copying from $systemDb"
117117
try {
118118
$sqlQueries = $transfer.ScriptTransfer()
119119

@@ -124,13 +124,13 @@ function Copy-DbaSysDbUserObject {
124124
$destServer.Query($sql,$systemDb)
125125
}
126126
catch {
127-
Stop-Function -Message "Issue creating object on destination" -Target $systemDb -ErrorRecord $_
127+
# Don't care - long story having to do with duplicate stuff
128128
}
129129
}
130130
}
131131
}
132132
catch {
133-
Stop-Function -Message "Issue occurred" -Target $systemDb -ErrorRecord $_
133+
# Don't care - long story having to do with duplicate stuff
134134
}
135135
}
136136
}

0 commit comments

Comments
 (0)